import Normal from "@/assets/normal.png";
import NormalActive from "@/assets/normal-active.png";
import Share from "@/assets/share.png";
import ShareActive from "@/assets/share-active.png";
import { basicModalEmits, basicModalProps } from "@/hooks/useModalToggle";

export enum EnumBattleMode {
  NormalMode = "NORMAL MODE",
  ShareMode = "SHARE MODE",
}

export enum EnumBattlePlayType {
  FourPlayer = "four_player",
  ThreePlayer = "three_player",
  TowPlayer = "tow_player",
}

export const createBattleProps = {
  ...basicModalProps,
};

export const createBattleEmits = {
  ...basicModalEmits,
};

export const players = [
  {
    value: EnumBattlePlayType.TowPlayer,
    length: 2,
  },
  {
    value: EnumBattlePlayType.ThreePlayer,
    length: 3,
  },
  {
    value: EnumBattlePlayType.FourPlayer,
    length: 4,
  },
];

export const modes = [
  {
    value: EnumBattleMode.NormalMode,
    label: "Normal",
    desc: "The one who unpacks the most wins!",
    icon: Normal,
    activeIcon: NormalActive,
  },
  {
    value: EnumBattleMode.ShareMode,
    label: "Share",
    desc: "All players share everything equally!",
    icon: Share,
    activeIcon: ShareActive,
  },
];
